package com.zide.member.entity.knowledge;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zide.common.core.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @description
 * @author 石添添
 * @date 2024/9/8 20:48
*/
@Data
@TableName("community_essay")
@Schema(description = "社区文章")
public class CommunityEssay extends BaseEntity {

    @Schema(description = "会员Id")
    private Long memberId;
    @Schema(description = "分类id")
    private Long categoryId;
    @Schema(description = "标题")
    private String title;
    @Schema(description = "封面")
    private String mainImg;
    @Schema(description = "内容")
    private String content;
    @Schema(description = "阅读数量")
    private Integer readQuantity;
    @Schema(description = "点赞数量")
    private Integer giveupQuantity;
    @Schema(description = "踩数量")
    private Integer ungiveupQuantity;
    @Schema(description = "收藏数量")
    private Integer collectQuantity;
    @Schema(description = "状态")
    private Integer status;

}
